Skip to content

Show real sample-photo results on the home and tool pages - #33

Merged
joancomadran merged 1 commit into
mainfrom
cursor/homepage-result-galleries-763f
Nov 12, 2026
Merged

joancomadran merged 1 commit into
mainfrom
cursor/homepage-result-galleries-763f

Conversation

@joancomadran

Copy link
Copy Markdown
Owner

The home page and five tool pages now lead with real stills from the sample photos already in the repo, instead of copy alone. Titles and meta on the carousel, LUT, and format-converter pages are unchanged. Nothing is merged.

What visitors see

  • Home (/ and /es): the tagline stays. The first screen is an adjusted export of twelve-apostles.jpg, a large editor button (“Open the editor — no sign-up” / “Abrir el editor — sin registro”), and “No uploads” / “Sin subir archivos”. The self-hosted promo (/video/promo.mp4) sits directly under the hero. A before/after section follows.
  • Tool pages, English and Spanish, gain an “A real example” / “Un ejemplo real” block: background removal, object removal, upscaling, RAW to JPG, and carousel. The block reuses the labeled side-by-side frames from the free-presets page.
  • The hero AVIF is preloaded. Below-the-fold stills are lazy. Width and height are set. Each still is AVIF with a WebP fallback.

Images and how they were made

All stills are in public/site/results/ and were produced by scripts/build-result-stills.mjs from files already in the repo. No retouching outside that pipeline.

Still Source What the script actually did
develop-before / develop-after public/samples/twelve-apostles.jpg Plain JPEG, then processImageSync with the promo hero sliders (exposure +0.85, contrast +26, highlights −65, shadows +85, whites +25, blacks −20, temperature +22, vibrance +55, saturation +8, clarity +32, dehaze +30). The camera RAW is not in the repo; the caption says this is the shipped flat JPEG, not a new sensor decode.
cutout-before / cutout-after public/samples/pagoda.jpg IS-Net (public/models/isnet-general-use-int8.onnx) the way ai.worker.ts runs it, then cleanCutout. After keeps the mask as alpha. The crop is the tower.
remove-before / remove-after public/samples/pagoda.jpg One Heal spot on the person standing on the gravel (radius ~53 px, source 110 px left and 70 px up), pasted with applyHeal. MI-GAN on these figures filled the hole with leaves, so the still is the Heal result. The brush also reaches the person against the eaves, and that edge stays soft.
upscale-before / upscale-after A 600×450 roof crop of pagoda.jpg, scaled to 256 px on the long edge Before is a 2× smooth resize. After is Real-ESRGAN (public/models/realesr-general-x4v3.onnx) at 2×, tiled like upscale.worker.ts, mixed with 20% of the smooth resize (TEXTURE_MIX).
carousel-source, carousel-1…3 public/samples/twelve-apostles.jpg Panorama layout, three 4:5 slides, painted by paintCarouselSlide at 540×675 (half of the 1080×1350 export).

Checks

npm run lint, npm test, and npm run build passed.

English homepage hero with the adjusted photo and no-sign-up button
English homepage on a phone: tagline, button, and result
Carousel tool page with the three generated slides

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

The hero leads with an adjusted export and a no-sign-up editor link, and the home and five tool pages reuse the presets before/after frames with stills generated from the shipped samples.

Co-authored-by: Joan Comadran <joancomadran@users.noreply.github.com>
@vercel

vercel Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
lightframes Ready Ready Preview Nov 12, 2026 12:56pm UTC

Request Review

@joancomadran
joancomadran merged commit c77b7f0 into main Nov 12, 2026
5 checks passed
@joancomadran
joancomadran deleted the cursor/homepage-result-galleries-763f branch November 12, 2026 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant